package com.ht.module.info.service;

import com.ht.module.info.entity.InfoGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ht.util.Pager;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author Auto-generator
 * @since 2021-12-03
 */
public interface IInfoGoodsService extends IService<InfoGoods> {

    void add(InfoGoods infoGoods);

    Pager<InfoGoods> findPage(Pager<InfoGoods> pager, InfoGoods infoGoods);

    void updateState(String id, String val);

    void editById(InfoGoods infoGoods);

    Pager<InfoGoods> notLoginPage(Pager<InfoGoods> pager, InfoGoods infoGoods);

    InfoGoods findById(String id);
}
